package com.atguigu.spzx.manager.service;

import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.product.Brand;
import com.atguigu.spyx.model.common.com.atguigu.spyx.model.entity.product.CategoryBrand;
import com.atguigu.spyx.model.vo.system.CategoryBrandVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author LT
 * @create 2023-11-09-10:14
 */
public interface CategoryBrandService {
    void deleteById(Long id);

    void save(CategoryBrand categoryBrand);

    CategoryBrand getById(Long id);

    void updateById(CategoryBrand categoryBrand);

    PageInfo<CategoryBrandVo> page(Integer pageNum, Integer pageSize, CategoryBrand categoryBrand);

    List<Brand> findBrandByCategoryId(Long c3id);
}
